"""add field ready to Schedule models

Revision ID: 3d49bab09b48
Revises: 33488df1b636
Create Date: 2024-06-12 13:40:48.581262

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '3d49bab09b48'
down_revision: Union[str, None] = '33488df1b636'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('schedules', sa.Column('ready', sa.Boolean(), nullable=False))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('schedules', 'ready')
    # ### end Alembic commands ###
